package io.kiki.sba.registry.server.shared.remoting;

import io.kiki.sba.registry.api.Channel;


public abstract class ListenServerChannelHandler extends AbstractServerHandler {

    @Override
    public Object doHandle(Channel channel, Object request) {
        throw new UnsupportedOperationException();
    }

    @Override
    public Object buildFailedResponse(String msg) {
        throw new RuntimeException(msg);
    }

    @Override
    public Class interest() {
        return null;
    }

    @Override
    public HandlerType getHandlerType() {
        return HandlerType.LISTENER;
    }
}
